from base.meta import Active, Inactive
from base.sprite import Player
from manager import sprite_mgr
from settings import *


class Hero1(Player):
    images_1 = "hero1.png"
    images_2 = "die.png"

    to_down = Active(0, 1, 2, 3, x=0, y=1)
    to_left = Active(4, 5, 6, 7, x=-1, y=0)
    to_right = Active(8, 9, 10, 11, x=1, y=0)
    to_up = Active(12, 13, 14, 15, x=0, y=-1)
    to_die = Inactive(20)


class Hero3(Player):
    images_1 = "hero3.png"
    images_2 = "die.png"

    to_down = Active(0, 1, 2, 3, x=0, y=1)
    to_left = Active(4, 5, 6, 7, x=-1, y=0)
    to_right = Active(8, 9, 10, 11, x=1, y=0)
    to_up = Active(12, 13, 14, 15, x=0, y=-1)
    to_die = Inactive(16)


class Hero7(Player):
    images_1 = "hero7.png"
    images_2 = "die.png"

    to_down = Active(0, 1, 2, 3, x=0, y=1)
    to_left = Active(4, 5, 6, 7, x=-1, y=0)
    to_right = Active(8, 9, 10, 11, x=1, y=0)
    to_up = Active(12, 13, 14, 15, x=0, y=-1)
    to_die = Inactive(22)
